<include file="Member:leftmenu" />

<div class="content-right fl">
<h1 class="content-right-title">重要信息变更日志</h1>
 <div class="tablesWrap">
        <form action="/admin/member/changelog" method="get" name="form1">
	    <div class="tables-searchbox">
	   			 <input type="text" class="input mini" name="user_id" id="user_id" value="<?php echo get('user_id');?>" placeholder="用户ID">
                <input type="text" class="input mini" name="nickname" id="nickname" value="<?php echo get('nickname');?>" placeholder="姓名/微信昵称">
                <input type="hidden" name="p" value="1">
                <input type="text" class="input mini" name="mobile" value="<?php echo get('mobile');?>" placeholder="手机">
                <button class="btn btn-primary" >
						<i class="gicon-search white"></i>查询</button>
                <a href="/admin/member/changelog" class="btn btn-warning">清除查询</a>
                
         </div>
	        <div>
            </div>
            </form>
	    </div>
	    
	    
    
           <!-- 1等级变更日志,2管理员登录日志,3上下级关系链调整 ,4聘级变更日志，5手机号变更  -->
	<div class="tabs clearfix mgt15 tabs-width order-numbers">
		<a href="/admin/member/changelog/type/0<?=$parm?>" class="<?php echo ($type==0)?'active':'';?> tabs_a fl">全部变更</a>
		<a href="/admin/member/changelog/type/3<?=$parm?>" class="<?php echo ($type==3)?'active':'';?> tabs_a fl">推荐人变更</a>
		<a href="/admin/member/changelog/type/1<?=$parm?>" class="<?php echo ($type==1)?'active':'';?> tabs_a fl">等级变更</a> 
		<a href="/admin/member/changelog/type/5<?=$parm?>" class="<?php echo ($type==5)?'active':'';?> tabs_a fl">手机号变更</a>
	</div>
	<table class="wxtables mgt15">
	    <colgroup>
	        <col width="6%">
	        <col width="6%">
	        <col width="8%">
	        <col width="8%">
	        <col width="8%">
	        <col width="8%">
	        <col width="8%">
	    </colgroup>
	    <thead>
	        <tr>
	        	<td>用户</td>
	        	<td>类型</td>
	            <td>操作描述</td>
	         <!--    <td>原数据</td>
	            <td>变更数据</td>	     -->        
	            <td>操作人</td>
	          	<td>操作时间</td>
	        </tr>
	    </thead>
	    <tbody>
	   <volist name="logs" id="vo">

            <tr>
            	<td>{$vo.target_username}</td>
                <td><?php switch($vo["log_type"]){
					case 1: echo "等级变更";break;case 3: echo "推荐人变更";break;case 4: echo "聘级变更";break;case 5: echo "手机号变更";break;
						}  ;?></td>
                <td>{$vo.content}</td>
             <!--    <td>{$vo.from_data}</td>
                <td>{$vo.to_data}</td> -->
                <td>{$vo.action_username}</td>
                <td>{$vo.create_time}</td>
	        </tr>

	    </volist>
	    </tbody>
	</table>

			<div class="pageNum tables-btmctrl clearfix">
			   <div class="mgt10">
				   <div class="paginate">
					  {$page}
				   </div>
			   </div>
			</div>
			
</div>
